<template>
  <div class="index-container">
    <van-button type="primary">主要按钮</van-button>
    <van-radio-group v-model="radio">
      <van-radio name="1">单选框 1</van-radio>
      <van-radio name="2">单选框 2</van-radio>
    </van-radio-group>
  </div>
</template>

<script>
export default {
  data(){
    return{
      radio: '0'
    }
  },
  mounted(){
    this.radio = '2'
  },
  
}
</script>
<style lang="scss" scoped>
@import url('./index.scss');
</style>
